<#import "/analysis/function.ftl" as fn>
<@fn.header _title="差异家庭户数统计" />
<body>
<@fn.position _value="当前位置 &gt;&gt; 差异情况统计 &gt; 差异家庭户数统计" />
<div class="contentDiv">
  <div class="condition">
    <h2>统计条件</h2>
    <form id="listForm" method="post">
	    <table class="tableStyle">
	      <tr>
	        <td width="15%">系统操作时间区间：</td>
	        <td width="22%"><input name="acceptStartTime" type="text" class="btnTxtDate" id="textfield" />
	          至
	          <input name="acceptEndTime" type="text" class="btnTxtDate" id="textfield13" />
	          <span class="red">*</span></td>
	        <td width="8%">所属区县：</td>
	        <td width="22%"><select name="countiesRegionId" class="btnSelect" id="select2">
	            <option value="">-- 请选择 --</option>
	          </select>
	          <span class="red">*</span></td>
	        <td width="11%">所属街道：</td>
	        <td width="22%"><select name="streetRegionId" class="btnSelect" id="select3">
	            <option value="">-- 请选择 --</option>
	          </select></td>
	      </tr>
	    </table>
	    <table class="buttonT">
	      <tr>
	        <td width="10%"><input type="submit" class="button" value="统 计" /></td>
	      </tr>
	    </table>
	</form>
  </div>
  <div class="reasult">
    <h2>统计结果</h2>
    <table class="gridStyle">
      <tr>
        <th>区县</th>
        <th>街道</th>
        <th>中止核对 </th>
        <th>差异数 </th>
        <th>核对报告数 </th>
        <th>终止核对 </th>
      </tr>
      <#list resultList as data>
      <tr>
        <td<#if (data.streetDiffFamilyDataList?size>1)> rowspan="${data.streetDiffFamilyDataList?size}"</#if>>${data.countryRegionName}</td>
        <td>${data.streetDiffFamilyDataList[0].streetRegionName}</td>
        <td>${data.streetDiffFamilyDataList[0].suspendCheckNum}</td>
        <td>${data.streetDiffFamilyDataList[0].diffNum}</td>
        <td>${data.streetDiffFamilyDataList[0].checkReportNum}</td>
        <td>${data.streetDiffFamilyDataList[0].terminateCheckNum}</td>
      </tr>
	      <#if (data.streetDiffFamilyDataList?size>1)>
		      <#list data.streetDiffFamilyDataList[1..] as _data>
			      <tr>
			        <td>${_data.streetRegionName}</td>
			        <td>${_data.suspendCheckNum}</td>
			        <td>${_data.diffNum}</td>
			        <td>${_data.checkReportNum}</td>
			        <td>${_data.terminateCheckNum}</td>
			      </tr>
		      </#list>
	      </#if>
	  </#list>
    </table>
  </div>
</div>
</body>
</html>
